// ISqService.aidl
package com.zk.sqservice;
import android.os.ParcelFileDescriptor;
// Declare any non-default types here with import statements

interface ISqService {
    /**
     * Demonstrates some basic types that you can use as parameters
     * and return values in AIDL.
     */
    void basicTypes(int anInt, long aLong, boolean aBoolean, float aFloat,
            double aDouble, String aString);

    /**
     * RemoteService 获取到ParcelFileDescriptor 之后
     * 就是通过反射，直接ParcelFileDescriptor构建MemoryFile，然后读取，
     * 此种方式问题在于26和27实现的不同
     *
     * 意味着是从客户端到服务器的数据
     */
    void dataFlow(in ParcelFileDescriptor data, int length);
}
